import Ajax from './ajax.js'

export const remain = (page) =>{
    return Ajax('/home/home',{page})
} 

export const focus = (item) =>{
    return Ajax('/home/community',{item})
}

export const reqdetail = (id) =>{
    // console.log('我只执行了')
    return Ajax(`/detail/${id}`);
}

export const reqShopping = (item) =>{
    console.log('/////');
    return Ajax('/home/shopping',{item})
}

export const reqexhibition = (id) =>{
    return Ajax(`/exhibition/${id}`)
}